import greenfoot.*;  

public class Grass extends MoveBckGr

{
    private int level;
    
    /**
     * Grass Constructor.
     */
    public Grass(int lev)
    {
        int level=lev;
    }
    
    /**
     * Method act.
     */
    public void act() 
    {
        shift( super.getX(), super.getY(), 3, 0, level);   //half size of the grass picture.
    }    
}
